package com.lijie.bs_recruit.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author lijie
 * @since 2021-04-07
 */
@ApiModel(value="News对象", description="")
public class News implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "新闻id")
      @TableId(value = "newsId", type = IdType.AUTO)
    private Integer newsId;

    @ApiModelProperty(value = "新闻标题")
    @TableField("newsTitle")
    private String newsTitle;

    @ApiModelProperty(value = "发布人")
    @TableField("createPerson")
    private String createPerson;

    @ApiModelProperty(value = "发布时间")
    @TableField("createTime")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("updateTime")
    private Date updateTime;


    @ApiModelProperty(value = "点击量")
    @TableField("lookNum")
    private Integer lookNum;

    @ApiModelProperty(value = "新闻内容")
    @TableField("newsContent")
    private String newsContent;

    @ApiModelProperty(value = "是否删除标记")
    @TableField("isDelete")
    private Integer isDelete;

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public String getNewsContent() {
        return newsContent;
    }

    public void setNewsContent(String newsContent) {
        this.newsContent = newsContent;
    }

    public Integer getNewsId() {
        return newsId;
    }

    public void setNewsId(Integer newsId) {
        this.newsId = newsId;
    }

    public String getNewsTitle() {
        return newsTitle;
    }

    public void setNewsTitle(String newsTitle) {
        this.newsTitle = newsTitle;
    }

    public String getCreatePerson() {
        return createPerson;
    }

    public void setCreatePerson(String createPerson) {
        this.createPerson = createPerson;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }



    public Integer getLookNum() {
        return lookNum;
    }

    public void setLookNum(Integer lookNum) {
        this.lookNum = lookNum;
    }

    @Override
    public String toString() {
        return "News{" +
        "newsId=" + newsId +
        ", newsTitle=" + newsTitle +
        ", createPerson=" + createPerson +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", lookNum=" + lookNum +
        "}";
    }
}
